.group-select-pop-container {
  box-sizing: border-box;
  .group-select-search {
    padding: 12px 12px 0;
    .next-input,
    input {
      border-radius: 4px !important;
    }
    // FIXME 搜索无结果时，增加下边距，待补充无结果的提示文案
    &:last-child {
      padding: 12px 12px 12px;
    }
  }
  // 代码组的打开设置中，高危操作下的仓库转移，在搜索时，统一弹窗的高度
  // 避免因loading和result的高度不一致，导致弹窗频闪
  .group-select-list {
    height: 166px;
    overflow: auto;
    margin-top: 8px;
    padding-bottom: 4px;
  }
  .group-select-loading {
    height: 166px;
    margin-top: 8px;
    padding-bottom: 4px;
  }

  .group-select-help {
    font-size: 12px;
    line-height: 20px;
    padding: 8px 0 0 12px;
    color: $gray-06;
  }

  .group-select-list-transfer {
    max-height: 156px !important;
  }
  .go-create-group-label {
    border-top: 1px solid $gray-03;
    height: 45px;
    color: $primary-brand;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    &.disabled {
      background: $gray-01;
      cursor: not-allowed;
      color: $gray-05;
    }
  }
}
.group-select-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  cursor: pointer;
  line-height: initial; // 不写这个会继承 .next-form-item-control 的 line-height: 0;
  &:hover {
    background: $gray-01;
  }
  &.hover {
    background: $gray-01;
  }
  &-left {
    flex: 1;
    max-width: calc(100% - 40px);
    padding-right: 12px;
    display: flex;
    align-items: center;
    .select-label {
      font-size: 14px;
      color: $gray-08;
      line-height: 20px;
      max-width: 100%;
      display: inline-block;
      &.disabled {
        color: $gray-05;
      }
    }
    .at-path {
      color: var(--color-text1-4, #292929);
      .at-path-wrap-last {
        color: var(--color-text1-4, #292929);
      }
    }
  }
  &-right {
    width: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-left: 12px;
    .select-icon {
      color: $primary-brand;
    }
  }
}
.group-select-loading {
  height: 174px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.group-select-auto-complete-pop,
.new-import-name-edit-area {
  .group-select-path-ellipsis {
    text-align: left;
    line-height: 36px;
    font-size: 14px;
    color: $gray-08;
    min-width: 40px;
  }
  .next-menu-item-text {
    max-width: 100%;
    flex: none;
  }
}

.no-group-message {
  line-height: 36px;
  font-size: 14px;
  color: $gray-06;
  padding: 0 8px;
}
